import { http } from "@/uni-sub-base/service/request.js"
let serviceName = "Authorize/"
import { getBaseUrls } from "@/utils/appUrl.js"
//登入
export function Login(data) {
    return http.post({
        url: getBaseUrls().baseUrlSupplier + serviceName + "Login",
        data,
    })
}
//重置密码
export function ResetAdminPsw(path) {
    return http.post({
        url: getBaseUrls().baseUrlSupplier + serviceName + "ResetAdminPsw" + path,
    })
}

export function UpdatePassword(path) {
    return http.post({
        url: getBaseUrls().baseUrlSupplier + serviceName + "UpdatePassword" + path,
    })
}
//短信登录
export function LoginBySms(path) {
    return http.post({
        url: getBaseUrls().baseUrlSupplier + serviceName + "LoginBySms" + path,
    })
}
